<table class="items">
    <tr class="<?php echo $class;?>">
        <td align="center"
            class="checkbox-column"><?php echo CHtml::checkBox('item', false, array('value' => $model['id']));?></td>
        <td class="sort-handle"><?php echo $hasChild ? CHtml::link('Toggle', '#', array('class' => 'collapse')) : '';?><?php echo CHtml::encode($model['name']);?></td>
        <td width="50" align="center"
            class="status-column"><?php echo CHtml::link('', $this->evaluateExpression($this->statusButtonUrl, array('data' => $model)), array('class' => $model['state'] === Term::STATE_ACTIVE ? 'active' : ''));?></td>
        <td width="100" align="center" class="actions-column">
            <?php echo CHtml::link(CHtml::image($baseGridViewScriptUrl . '/update.png', 'Edit'), $this->evaluateExpression($this->updateButtonUrl, array('data' => $model)), array('title' => 'Edit'));?>
            <?php echo CHtml::link(CHtml::image($baseGridViewScriptUrl . '/delete.png', 'Delete'), $this->evaluateExpression($this->deleteButtonUrl, array('data' => $model)), array('class' => 'delete', 'title' => 'Edit'));?>
        </td>
    </tr>
</table>